home *** CD-ROM | disk | FTP | other *** search
Wrap
OOOOSSSSTTTTRRRREEEEAAAAMMMM((((3333CCCC++++++++)))) OOOOSSSSTTTTRRRREEEEAAAAMMMM((((3333CCCC++++++++)))) NNNNAAAAMMMMEEEE ostream - formatted and unformatted output SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_iiii_oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_...._hhhh_>>>> _tttt_yyyy_pppp_eeee_dddd_eeee_ffff _llll_oooo_nnnn_gggg _ssss_tttt_rrrr_eeee_aaaa_mmmm_oooo_ffff_ffff_,,,, _ssss_tttt_rrrr_eeee_aaaa_mmmm_pppp_oooo_ssss_;;;; _cccc_llll_aaaa_ssss_ssss _iiii_oooo_ssss _{{{{ _pppp_uuuu_bbbb_llll_iiii_cccc_:::: _eeee_nnnn_uuuu_mmmm _ssss_eeee_eeee_kkkk______dddd_iiii_rrrr _{{{{ _bbbb_eeee_gggg_,,,, _cccc_uuuu_rrrr_,,,, _eeee_nnnn_dddd _}}}}_;;;; _eeee_nnnn_uuuu_mmmm _oooo_pppp_eeee_nnnn______mmmm_oooo_dddd_eeee _{{{{ _iiii_nnnn_,,,, _oooo_uuuu_tttt_,,,, _aaaa_tttt_eeee_,,,, _aaaa_pppp_pppp_,,,, _tttt_rrrr_uuuu_nnnn_cccc_,,,, _nnnn_oooo_cccc_rrrr_eeee_aaaa_tttt_eeee_,,,, _nnnn_oooo_rrrr_eeee_pppp_llll_aaaa_cccc_eeee _}}}} _;;;; _eeee_nnnn_uuuu_mmmm _{{{{ _ssss_kkkk_iiii_pppp_wwww_ssss_====_0000_1111_,,,, _llll_eeee_ffff_tttt_====_0000_2222_,,,, _rrrr_iiii_gggg_hhhh_tttt_====_0000_4444_,,,, _iiii_nnnn_tttt_eeee_rrrr_nnnn_aaaa_llll_====_0000_1111_0000_,,,, _dddd_eeee_cccc_====_0000_2222_0000_,,,, _oooo_cccc_tttt_====_0000_4444_0000_,,,, _hhhh_eeee_xxxx_====_0000_1111_0000_0000_,,,, _ssss_hhhh_oooo_wwww_bbbb_aaaa_ssss_eeee_====_0000_2222_0000_0000_,,,, _ssss_hhhh_oooo_wwww_pppp_oooo_iiii_nnnn_tttt_====_0000_4444_0000_0000_,,,, _uuuu_pppp_pppp_eeee_rrrr_cccc_aaaa_ssss_eeee_====_0000_1111_0000_0000_0000_,,,, _ssss_hhhh_oooo_wwww_pppp_oooo_ssss_====_0000_2222_0000_0000_0000_,,,, _ssss_cccc_iiii_eeee_nnnn_tttt_iiii_ffff_iiii_cccc_====_0000_4444_0000_0000_0000_,,,, _ffff_iiii_xxxx_eeee_dddd_====_0000_1111_0000_0000_0000_0000_,,,, _uuuu_nnnn_iiii_tttt_bbbb_uuuu_ffff_====_0000_2222_0000_0000_0000_0000_,,,, _ssss_tttt_dddd_iiii_oooo_====_0000_4444_0000_0000_0000_0000 _}}}}_;;;; _////_//// _aaaa_nnnn_dddd _llll_oooo_tttt_ssss _oooo_ffff _oooo_tttt_hhhh_eeee_rrrr _ssss_tttt_uuuu_ffff_ffff_,,,, _ssss_eeee_eeee _iiii_oooo_ssss_((((_3333_CCCC_++++_++++_)))) _...._...._.... _}}}} _;;;; _cccc_llll_aaaa_ssss_ssss _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm _:::: _pppp_uuuu_bbbb_llll_iiii_cccc _iiii_oooo_ssss _{{{{ _pppp_uuuu_bbbb_llll_iiii_cccc_:::: _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_((((_ssss_tttt_rrrr_eeee_aaaa_mmmm_bbbb_uuuu_ffff_****_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _ffff_llll_uuuu_ssss_hhhh_((((_))))_;;;; _iiii_nnnn_tttt _oooo_pppp_ffff_xxxx_((((_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _pppp_uuuu_tttt_((((_cccc_hhhh_aaaa_rrrr_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _ssss_eeee_eeee_kkkk_pppp_((((_ssss_tttt_rrrr_eeee_aaaa_mmmm_pppp_oooo_ssss_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _ssss_eeee_eeee_kkkk_pppp_((((_ssss_tttt_rrrr_eeee_aaaa_mmmm_oooo_ffff_ffff_,,,, _ssss_eeee_eeee_kkkk______dddd_iiii_rrrr_))))_;;;; _ssss_tttt_rrrr_eeee_aaaa_mmmm_pppp_oooo_ssss _tttt_eeee_llll_llll_pppp_((((_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _wwww_rrrr_iiii_tttt_eeee_((((_cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr_**** _pppp_tttt_rrrr_,,,, _iiii_nnnn_tttt _nnnn_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _wwww_rrrr_iiii_tttt_eeee_((((_cccc_oooo_nnnn_ssss_tttt _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _cccc_hhhh_aaaa_rrrr_**** _pppp_tttt_rrrr_,,,, _iiii_nnnn_tttt _nnnn_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr_****_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_cccc_hhhh_aaaa_rrrr_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_ssss_hhhh_oooo_rrrr_tttt_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_iiii_nnnn_tttt_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_llll_oooo_nnnn_gggg_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_ffff_llll_oooo_aaaa_tttt_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_dddd_oooo_uuuu_bbbb_llll_eeee_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _cccc_hhhh_aaaa_rrrr_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _ssss_hhhh_oooo_rrrr_tttt_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _iiii_nnnn_tttt_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _llll_oooo_nnnn_gggg_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_vvvv_oooo_iiii_dddd_****_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_ssss_tttt_rrrr_eeee_aaaa_mmmm_bbbb_uuuu_ffff_****_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _((((_****_))))_((((_oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&&_))))_))))_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_<<<<_<<<<_((((_iiii_oooo_ssss_&&&& _((((_****_))))_((((_iiii_oooo_ssss_&&&&_))))_))))_;;;; _}}}}_;;;; _cccc_llll_aaaa_ssss_ssss _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm______wwww_iiii_tttt_hhhh_aaaa_ssss_ssss_iiii_gggg_nnnn _{{{{ _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm______wwww_iiii_tttt_hhhh_aaaa_ssss_ssss_iiii_gggg_nnnn_((((_))))_;;;; _iiii_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_====_((((_iiii_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&&_))))_;;;; _iiii_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _oooo_pppp_eeee_rrrr_aaaa_tttt_oooo_rrrr_====_((((_ssss_tttt_rrrr_eeee_aaaa_mmmm_bbbb_uuuu_ffff_****_))))_;;;; PPPPaaaaggggeeee 1111 OOOOSSSSTTTTRRRREEEEAAAAMMMM((((3333CCCC++++++++)))) OOOOSSSSTTTTRRRREEEEAAAAMMMM((((3333CCCC++++++++)))) _}}}}_;;;; _eeee_xxxx_tttt_eeee_rrrr_nnnn _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm______wwww_iiii_tttt_hhhh_aaaa_ssss_ssss_iiii_gggg_nnnn _cccc_oooo_uuuu_tttt_;;;; _eeee_xxxx_tttt_eeee_rrrr_nnnn _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm______wwww_iiii_tttt_hhhh_aaaa_ssss_ssss_iiii_gggg_nnnn _cccc_eeee_rrrr_rrrr_;;;; _eeee_xxxx_tttt_eeee_rrrr_nnnn _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm______wwww_iiii_tttt_hhhh_aaaa_ssss_ssss_iiii_gggg_nnnn _cccc_llll_oooo_gggg_;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _eeee_nnnn_dddd_llll_((((_oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&&_)))) _;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _eeee_nnnn_dddd_ssss_((((_oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&&_)))) _;;;; _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _ffff_llll_uuuu_ssss_hhhh_((((_oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&&_)))) _;;;; _iiii_oooo_ssss_&&&& _dddd_eeee_cccc_((((_iiii_oooo_ssss_&&&&_)))) _;;;; _iiii_oooo_ssss_&&&& _hhhh_eeee_xxxx_((((_iiii_oooo_ssss_&&&&_)))) _;;;; _iiii_oooo_ssss_&&&& _oooo_cccc_tttt_((((_iiii_oooo_ssss_&&&&_)))) _;;;; DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmms support insertion (storing) into a _ssss_tttt_rrrr_eeee_aaaa_mmmm_bbbb_uuuu_ffff. These are commonly referred to as output operations. The _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm member functions and related functions are described below. In the following descriptions, assume: - _o_u_t_s is an _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm. - _o_u_t_s_w_a is an _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm______wwww_iiii_tttt_hhhh_aaaa_ssss_ssss_iiii_gggg_nnnn. - _o_u_t_s_p is an _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_****. - _c is a _cccc_hhhh_aaaa_rrrr. - _p_t_r is a _cccc_hhhh_aaaa_rrrr_**** or _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _cccc_hhhh_aaaa_rrrr_****. - _s_b is a _ssss_tttt_rrrr_eeee_aaaa_mmmm_bbbb_uuuu_ffff_**** - _i and _n are _iiii_nnnn_tttts. - _p_o_s is a _ssss_tttt_rrrr_eeee_aaaa_mmmm_pppp_oooo_ssss. - _o_f_f is a _ssss_tttt_rrrr_eeee_aaaa_mmmm_oooo_ffff_ffff. - _d_i_r is a _ssss_eeee_eeee_kkkk______dddd_iiii_rrrr. - _m_a_n_i_p is a function with type _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&& _((((_****_))))_((((_oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_&&&&_)))). CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrrssss aaaannnndddd aaaassssssssiiiiggggnnnnmmmmeeeennnntttt:::: _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm_((((_s_b_)))) Initializes _iiii_oooo_ssss state variables and associates buffer _s_b with the _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm. _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm______wwww_iiii_tttt_hhhh_aaaa_ssss_ssss_iiii_gggg_nnnn_((((_)))) Does no initialization. This allows a file static variable of this type (_cccc_oooo_uuuu_tttt, for example) to be used before it is constructed, provided it is assigned to first. _o_u_t_s_w_a_====_s_b Associates _s_b with _s_w_a and initializes the entire state of _o_u_t_s_w_a. _i_n_s_w_a_====_i_n_s Associates _i_n_s_----_>>>>_rrrr_dddd_bbbb_uuuu_ffff_((((_)))) with _s_w_a and initializes the entire state of _o_u_t_s_w_a. OOOOuuuuttttppppuuuutttt pppprrrreeeeffffiiiixxxx ffffuuuunnnnccccttttiiiioooonnnn:::: PPPPaaaaggggeeee 2222 OOOOSSSSTTTTRRRREEEEAAAAMMMM((((3333CCCC++++++++)))) OOOOSSSSTTTTRRRREEEEAAAAMMMM((((3333CCCC++++++++)))) _i_====_o_u_t_s_...._oooo_pppp_ffff_xxxx_((((_)))) If _o_u_t_s's error state is nonzero, returns immediately. If _o_u_t_s_...._tttt_iiii_eeee_((((_)))) is non-null, it is flushed. Returns non-zero except when _o_u_t_s's error state is nonzero. OOOOuuuuttttppppuuuutttt ssssuuuuffffffffiiiixxxx ffffuuuunnnnccccttttiiiioooonnnn:::: _oooo_ssss_ffff_xxxx_((((_)))) Performs ``suffix'' actions before returning from inserters. If _iiii_oooo_ssss_::::_::::_uuuu_nnnn_iiii_tttt_bbbb_uuuu_ffff is set, _oooo_ssss_ffff_xxxx_((((_)))) flushes the _oooo_ssss_tttt_rrrr_eeee_aaaa_mmmm. If _iiii_oooo_ssss_::::_::::_ssss_tttt_dddd_iiii_oooo is set, _oooo_ssss_ffff_xxxx_((((_)))) flushes _ssss_tttt_dddd_oooo_uuuu_tttt and _ssss_tttt_dddd_eeee_rrrr_rrrr. _oooo_ssss_ffff_xxxx_((((_)))) is called by all predefined inserters, and should be called by user-defined inserters as well, after any direct manipulation of the _ssss_tttt_rrrr_eeee_aaaa_mmmm_bbbb_uuuu_ffff. It is not called by the binary output functions. FFFFoooorrrrmmmmaaaatttttttteeeedddd oooouuuuttttppppuuuutttt ffffuuuunnnnccccttttiiiioooonnnnssss ((((iiiinnnnsssseeeerrrrtttteeeerrrrssss)))):::: _o_u_t_s_<<<<_<<<<_x First calls _o_u_t_s_...._oooo_pppp_ffff_xxxx_((((_)))) and if that returns 0, does nothing. Otherwise inserts a sequence of characters representing _x into _o_u_t_s_...._rrrr_dddd_bbbb_uuuu_ffff_((((_)))). Errors are indicated by setting the error state of _o_u_t_s. _o_u_t_s is always returned. _x is converted into a sequence of characters (its representation) according to rules that depend on _x's type and _o_u_t_s's format state flags and variables (see _iiii_oooo_ssss(3C++)). Inserters are defined for the following types, with conversion rules as described below: _cccc_hhhh_aaaa_rrrr_**** The representation is the sequence of characters up to (but not including) the terminating null of the string _x points at. _a_n_y _i_n_t_e_g_r_a_l _t_y_p_e except _cccc_hhhh_aaaa_rrrr _a_n_d _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _cccc_hhhh_aaaa_rrrr If _x is positive the representation contains a sequence of decimal, octal, or hexadecimal digits with no leading zeros according to whether _iiii_oooo_ssss_::::_::::_dddd_eeee_cccc, _iiii_oooo_ssss_::::_::::_oooo_cccc_tttt, or _iiii_oooo_ssss_::::_::::_hhhh_eeee_xxxx, respectively, is set in _iiii_oooo_ssss's format flags. If none of those flags are set, conversion defaults to decimal. If _x is zero, the representation is a single zero character(_0000). If _x is negative, decimal conversion converts it to a minus sign (_----) followed by decimal digits. If _x is positive and _iiii_oooo_ssss_::::_::::_ssss_hhhh_oooo_wwww_pppp_oooo_ssss is set, decimal conversion converts it to a plus sign (_++++) followed by decimal digits. The other conversions treat all values as unsigned. If _iiii_oooo_ssss_::::_::::_ssss_hhhh_oooo_wwww_bbbb_aaaa_ssss_eeee is set in _i_o_s's format flags, the hexadecimal representation contains _0000_xxxx before the hexadecimal digits, or _0000_XXXX if _iiii_oooo_ssss_::::_::::_uuuu_pppp_pppp_eeee_rrrr_cccc_aaaa_ssss_eeee is set. If _iiii_oooo_ssss_::::_::::_ssss_hhhh_oooo_wwww_bbbb_aaaa_ssss_eeee is set, the octal representation contains a leading 0. PPPPaaaaggggeeee 3333 OOOOSSSSTTTTRRRREEEEAAAAMMMM((((3333CCCC++++++++)))) OOOOSSSSTTTTRRRREEEEAAAAMMMM((((3333CCCC++++++++)))) _vvvv_oooo_iiii_dddd_**** Pointers are converted to integral values and then converted to hexadecimal numbers as if _iiii_oooo_ssss_::::_::::_ssss_hhhh_oooo_wwww_bbbb_aaaa_ssss_eeee were set. _ffff_llll_oooo_aaaa_tttt, _dddd_oooo_uuuu_bbbb_llll_eeee The arguments are converted according to the current values of _o_u_t_s_...._pppp_rrrr_eeee_cccc_iiii_ssss_iiii_oooo_nnnn_((((_)))), _o_u_t_s_...._wwww_iiii_dddd_tttt_hhhh_((((_)))) and _o_u_t_s's format flags _iiii_oooo_ssss_::::_::::_ssss_cccc_iiii_eeee_nnnn_tttt_iiii_ffff_iiii_cccc, _iiii_oooo_ssss_::::_::::_ffff_iiii_xxxx_eeee_dddd, and _iiii_oooo_ssss_::::_::::_uuuu_pppp_pppp_eeee_rrrr_cccc_aaaa_ssss_eeee. (See _iiii_oooo_ssss(3C++).) The default value for _o_u_t_s_...._pppp_rrrr_eeee_cccc_iiii_ssss_iiii_oooo_nnnn_((((_)))) is 6. If neither _iiii_oooo_ssss_::::_::::_ssss_cccc_iiii_eeee_nnnn_tttt_iiii_ffff_iiii_cccc nor _iiii_oooo_ssss_::::_::::_ffff_iiii_xxxx_eeee_dddd is set, either fixed or scientific notation is chosen for the representation, depending on the value of _x. _cccc_hhhh_aaaa_rrrr, _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _cccc_hhhh_aaaa_rrrr No special conversion is necessary. After the representation is determined, padding occurs. If _o_u_t_s_...._wwww_iiii_dddd_tttt_hhhh_((((_)))) is greater than 0 and the representation contains fewer than _o_u_t_s_...._wwww_iiii_dddd_tttt_hhhh_((((_)))) characters, then enough _o_u_t_s_...._ffff_iiii_llll_llll_((((_)))) characters are added to bring the total number of characters to _iiii_oooo_ssss_...._wwww_iiii_dddd_tttt_hhhh_((((_)))). If _iiii_oooo_ssss_::::_::::_llll_eeee_ffff_tttt is set in _iiii_oooo_ssss's format flags, the sequence is left-adjusted, that is, characters are added after the characters determined above. If _iiii_oooo_ssss_::::_::::_rrrr_iiii_gggg_hhhh_tttt is set, the padding is added before the characters determined above. If _iiii_oooo_ssss_::::_::::_iiii_nnnn_tttt_eeee_rrrr_nnnn_aaaa_llll is set, the padding is added after any leading sign or base indication and before the characters that represent the value. _iiii_oooo_ssss_...._wwww_iiii_dddd_tttt_hhhh_((((_)))) is reset to 0, but all other format variables are unchanged. The resulting sequence (padding plus representation) is inserted into _o_u_t_s_...._rrrr_dddd_bbbb_uuuu_ffff_((((_)))). _o_u_t_s_<<<<_<<<<_s_b If _o_u_t_s_...._oooo_pppp_ffff_xxxx_((((_)))) returns non-zero, the sequence of characters that can be fetched from _s_b are inserted into _o_u_t_s_...._rrrr_dddd_bbbb_uuuu_ffff_((((_)))). Insertion stops when no more characters can be fetched from _s_b. No padding is performed. Always returns _o_u_t_s. UUUUnnnnffffoooorrrrmmmmaaaatttttttteeeedddd oooouuuuttttppppuuuutttt ffffuuuunnnnccccttttiiiioooonnnnssss:::: _o_u_t_s_p_====_&&&&_o_u_t_s_...._pppp_uuuu_tttt_((((_cccc_)))) Inserts _c into _o_u_t_s_...._rrrr_dddd_bbbb_uuuu_ffff_((((_)))). Sets the error state if the insertion fails. _o_u_t_s_p_====_&&&&_o_u_t_s_...._wwww_rrrr_iiii_tttt_eeee_((((_s_,,,,_n_)))) Inserts the _n characters starting at _s into _o_u_t_s_...._rrrr_dddd_bbbb_uuuu_ffff_((((_)))). These characters may include zeros (i.e., _s need not be a null terminated string). OOOOtttthhhheeeerrrr mmmmeeeemmmmbbbbeeeerrrr ffffuuuunnnnccccttttiiiioooonnnnssss:::: _o_u_t_s_p_====_&&&&_o_u_t_s_...._ffff_llll_uuuu_ssss_hhhh_((((_)))) Storing characters into a streambuf does not always cause them to be consumed (e.g., written to the external file) immediately. _ffff_llll_uuuu_ssss_hhhh_((((_)))) causes any characters that may have been PPPPaaaaggggeeee 4444 OOOOSSSSTTTTRRRREEEEAAAAMMMM((((3333CCCC++++++++)))) OOOOSSSSTTTTRRRREEEEAAAAMMMM((((3333CCCC++++++++)))) stored but not yet consumed to be consumed by calling _o_u_t_s_...._rrrr_dddd_bbbb_uuuu_ffff_((((_))))_----_>>>>_ssss_yyyy_nnnn_cccc. _o_u_t_s_<<<<_<<<<_mmmm_aaaa_nnnn_iiii_pppp Equivalent to _mmmm_aaaa_nnnn_iiii_pppp_((((_o_u_t_s_)))). Syntactically this looks like an insertion operation, but semantically it does an arbitrary operation rather than converting _mmmm_aaaa_nnnn_iiii_pppp to a sequence of characters as do the insertion operators. Predefined manipulators are described below. PPPPoooossssiiiittttiiiioooonnnniiiinnnngggg ffffuuuunnnnccccttttiiiioooonnnnssss:::: _o_u_t_s_p_====_&&&&_i_n_s_...._ssss_eeee_eeee_kkkk_pppp_((((_o_f_f_,,,,_d_i_r_)))) Repositions _o_u_t_s_...._rrrr_dddd_bbbb_uuuu_ffff_((((_))))'s put pointer. See _ssss_bbbb_uuuu_ffff_...._pppp_uuuu_bbbb(3C++) for a discussion of positioning. _o_u_t_s_p_====_&&&&_o_u_t_s_...._ssss_eeee_eeee_kkkk_pppp_((((_p_o_s_)))) Repositions _o_u_t_s_...._rrrr_dddd_bbbb_uuuu_ffff_((((_))))'s put pointer. See _ssss_bbbb_uuuu_ffff_...._pppp_uuuu_bbbb(3C++) for a discussion of positioning. _p_o_s_====_o_u_t_s_...._tttt_eeee_llll_llll_pppp_((((_)))) The current position of _o_u_t_s_...._rrrr_dddd_bbbb_uuuu_ffff_((((_))))'s put pointer. See _ssss_bbbb_uuuu_ffff_...._pppp_uuuu_bbbb(3C++) for a discussion of positioning. MMMMaaaannnniiiippppuuuullllaaaattttoooorrrrssss:::: _o_u_t_s_<<<<_<<<<_eeee_nnnn_dddd_llll Ends a line by inserting a newline character and flushing. _o_u_t_s_<<<<_<<<<_eeee_nnnn_dddd_ssss Ends a string by inserting a null (0) character. _o_u_t_s_<<<<_<<<<_ffff_llll_uuuu_ssss_hhhh Flushes _o_u_t_s. _o_u_t_s_<<<<_<<<<_dddd_eeee_cccc Sets the conversion base format flag to 10. See _iiii_oooo_ssss(3C++). _o_u_t_s_<<<<_<<<<_hhhh_eeee_xxxx Sets the conversion base format flag to 16. See _iiii_oooo_ssss(3C++). _o_u_t_s_<<<<_<<<<_oooo_cccc_tttt Sets the conversion base format flag to 8. See _iiii_oooo_ssss(3C++). SSSSEEEEEEEE AAAALLLLSSSSOOOO _iiii_oooo_ssss(3C++), _ssss_bbbb_uuuu_ffff_...._pppp_uuuu_bbbb(3C++), _mmmm_aaaa_nnnn_iiii_pppp(3C++) PPPPaaaaggggeeee 5555